using UniversalAdminSystem.Domian.UserManagement.Entities;
using UniversalAdminSystem.Domian.UserManagement.ValueObj;

namespace UniversalAdminSystem.Application.UserManagement.Dtos;


public record UserDetailDto
{
    public Guid Id { get; set; }
    public string Account { get; set; }
    public string Email { get; set; }
    public UserStatus UserStatus { get; set; }

    public string? RoleName { get; set; }
    public UserInfo? UserInfo { get; set; }

    public UserDetailDto(Guid id, string account, string email, UserStatus userStatus, UserInfo? userInfo = null, string? rolename = null)
    {
        Id = id;
        Account = account;
        Email = email;
        UserStatus = userStatus;
        RoleName = rolename;
        UserInfo = userInfo;
    }
}